package com.sneaker.shower.mapstruct;

import com.sneaker.shower.entity.domain.order.PayOrderDO;
import com.sneaker.shower.entity.dto.PayOrderDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring")
@Component
public interface PayOrderMapStruct {
    PayOrderMapStruct INSTANCE = Mappers.getMapper(PayOrderMapStruct.class);

    PayOrderDTO do2DTO(PayOrderDO payOrderDO);
}
